package cn.trda.service;

import cn.trda.pojo.Account;
import cn.trda.pojo.Accountdetail;

public interface AccountService {
	
	    int insertSelective(Account record,Accountdetail accountdetail);
	    /**
	     * 根据userId获取该用户的account
	     * @param id userId
	     * @return
	     */
		Account selectByUserId(Long id);
		Account getAccountByUserId(Long agentid);
}
